package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @ClassName UpdateCommentByShopParam
 * @Description TODO
 * @Author 李磊
 * @Version 1.0
 **/
@Data
public class UpdateCommentByShopTParam {

    @NotNull(message = "评论ID不能为空")
    @Min(value = 1, message = "评论ID有误")
    @ApiModelProperty(value = "评论ID",example = "1")
    private Integer commentId;

    @NotNull(message = "回复内容不能为空")
    @Size(min = 0,max = 500,message = "回复内容大小有误")
    @ApiModelProperty(value = "回复内容")
    private String addedComment;

}
